//
//  PostCommon_Enum.h
//  PostDelivery
//
//  Created by wmz on 2020/6/18.
//  Copyright © 2020 wmz. All rights reserved.
//

#ifndef PostCommon_Enum_h
#define PostCommon_Enum_h
//枚举block 放这
@class BaseCellModel;
#import <UIKit/UIKit.h>
typedef void (^NavClickBlock)(UIButton * _Nullable button);

typedef void (^PostShadomClick)(void);

typedef void (^AlertBlock)(id any,BOOL confirm,BOOL cancel);

typedef void (^PostNetWorkBock)(id _Nullable data,BOOL result);

typedef void (^PostTextFieldBock)(BOOL searchReturn, NSString * _Nullable text);

typedef void (^PostResultSuccess)(BOOL success);

typedef void (^PostResultID)(id _Nullable data);

typedef void (^PostResultImage)(NSArray<UIImage*>* _Nullable image);

typedef void (^PostSelectTagBlock)(NSArray<BaseCellModel*>* _Nullable selectData);

typedef void (^PostSpeechBlock)(NSString *_Nullable result,BOOL success);

typedef void (^PostSpeechPermissionBlock)(BOOL speechPermission,BOOL audioPermission);

typedef void (^PostSelectResult)(id _Nullable data,id _Nullable otherData);

typedef enum :NSInteger{
    PostBtnPositionLeft     = 1,            //图片在左，文字在右，默认
    PostBtnPositionRight    = 2,            //图片在右，文字在左
    PostBtnPositionTop      = 3,            //图片在上，文字在下
    PostBtnPositionBottom   = 4,            //图片在下，文字在上
}PostBtnPosition;

//设置阴影
typedef enum :NSInteger{
    PostShadowPathTop,
    PostShadowPathBottom,
    PostShadowPathLeft,
    PostShadowPathRight,
    PostShadowPathCommon,
    PostShadowPathAround
}PostShadowPathType;


//设置阴影
typedef enum :NSInteger{
    PostUserAuthFail = 0,
    PostUserAuthIng = 2,
    PostUserAuthSuccess = 1,
}PostUserAuth;

#endif /* PostCommon_Enum_h */
